#define _CRT_SECURE_NO_WARNINGS 1
#include"Stack.h"
TestStack()
{
	ST st;
	STInit(&st);
	STPush(&st, 1);
	STPush(&st, 2);
	STPush(&st, 3);
	STPush(&st, 4);
	STPush(&st, 5);

	while (!STEmpty(&st))
	{
		printf("%d ", STTop(&st));
		STPop(&st);
	}
	printf("\n");
	STDestroy(&st);

}



int main()
{
	TestStack();


	/*int k = 100;
	int count = 0;
	while (k > 1)
	{
		k = k / 2;
		count++;
	}
	printf("%d", count);*/
	//int x = 3;
	//x *= x + 1;
	//printf("%d", x);
	return 0;
}